Package-level declarations
Types
Link copied to clipboard
xerr namespace popup statements. Expressions are evaluated in source order, never by blocking get/join.
Link copied to clipboard
data class PopupAnimation(val duration: Int = 0, val easing: String = "ease-out", val from: PopupPose? = null, val to: PopupPose? = null)
Link copied to clipboard
data class PopupAnimations(val enter: PopupAnimation = PopupAnimation(), val exit: PopupAnimation = PopupAnimation())
Link copied to clipboard
data class PopupDefinition(val layout: String = "", val group: String = "", val duration: Int = 80, val refresh: Int = 5, val variables: Map<String, String> = emptyMap(), val animation: PopupAnimations = PopupAnimations())
弹窗类型;duration 仅计算停留时间,0 为常驻。 / Popup type; duration counts holding time only, zero stays until closed.
Link copied to clipboard
data class PopupDisplay(val channel: String = "actionbar", val order: Int = 0, val anchor: GuiAnchor = GuiAnchor(50f, 0f), val slots: List<PopupSlot> = listOf(PopupSlot()), val pendingLimit: Int = 256, val reflow: PopupAnimation = PopupAnimation(), val popups: Map<String, PopupDefinition> = linkedMapOf())
One popup display group and all popup types sharing its slots and FIFO queue.
Link copied to clipboard
Link copied to clipboard
data class PopupGroup(val channel: String = "actionbar", val anchor: GuiAnchor = GuiAnchor(50f, 0f), val slots: List<PopupSlot> = listOf(PopupSlot()), val animation: PopupGroupAnimations = PopupGroupAnimations(), val pendingLimit: Int = 256)
顶层 YAML ID 对应一组显示位与等待队列。 / A top-level YAML ID defines display slots and a FIFO queue.
Link copied to clipboard
Link copied to clipboard
class PopupHandle
排队的实例也已有句柄;Popup 类型 ID 不是实例 ID。 / Queued popups already have handles; a popup type ID is not an instance ID.
Link copied to clipboard
class PopupLayoutPlan(val layout: LayoutEntity, val group: PopupGroup, val definition: PopupDefinition)
Prepares finite font variants once. Moving a cached frame never reruns its Kether or placeholders.
Link copied to clipboard
Link copied to clipboard
interface XerrPopupAPI
Stable popup API exposed by com.hiusers.xerr.api.XerrAPI.